<?php 
use yii\widgets\LinkPager;
use yii\helpers\Url;
?>
<?php $this->beginBlock('style'); ?>
<link rel="stylesheet" type="text/css" href="css/index.css">
<?php $this->endBlock(); ?>


<?php $this->beginBlock('content'); ?>
    
    <div class="module box-common">
    	
    	<div class="post border0">
    	    <div class="post-header">
                <h3 class="post-title text-center"><?php echo$info->title;?></h3>
                <div class="text-center tags">
                    <span><i class="fa fa-calendar"></i> <?php echo date('Y-m-d H:i',$info->publish_time);?></span>
                    <span><i class="fa fa-list-alt"></i> <a href="https://baijunyao.com/category/30" target="_blank"><?php echo $info->category->name?></a></span>
                    <span>
                        <?php if(!empty($info->tags)):?>
    		             <i class="fa fa-tags"></i>
    		             <?php foreach($info->tags as $tag):?>
    			         <a class="b-tag-name" href="https://baijunyao.com/tag/25" target="_blank"><?php echo $tag->name;?></a>
    			         <?php endforeach;?>
    			        <?php endif;?>
			        </span> 
    		  </div>
    		  
    	    </div>
    	    
    	    <div class="post-body">
                <?php echo $info->content;?>
    	    </div>
    	    
    	    <div class="post-footer">
                <ul class="page">
                    <li>上一篇：<a href="#">少时诵诗书所所所所所所所所所所</a></li>
                    <li>下一篇：<a href="#">反反复复付付付付付付付付付</a></li>
                </ul>

    	    </div>

    	</div>
    </div>
       
<?php $this->endBlock(); ?>

<?php $this->beginBlock('javascript'); ?>
<script type="text/javascript" src="js/index.js"></script>
<?php $this->endBlock(); ?>
